package hottargui.domain.alpha;

import hottargui.domain.*;

public class AlphaAttackStrategy implements AttackStrategy{

	/**
	 * @param dieValue bliver ikke brugt 
	 */ 
	public int attack(Tile ft,Tile tt,int dieValue, int attackCamels){
		int deadCamels = ft.getUnitCount();

		if (deadCamels > attackCamels) {
			deadCamels = attackCamels;
		}

		if (deadCamels > tt.getUnitCount() ){
			deadCamels = tt.getUnitCount();  
		}
		return deadCamels;
	}

	public boolean defendAllowed(Tile tt, int deadDefendCamels) {
		return true;
	}

	public boolean rollDieAllowed() {
		return false;
	}
}


